package org.jeecg.modules.wmhb.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;

@Data
@ApiModel(value="BOM采购进度对象", description="BOM采购进度对象")
public class WmBomProgressVo {
    private String id;

    @Excel(name = "产品编码")
    @ApiModelProperty(value = "产品编码")
    private String code;

    @Excel(name = "产品名称")
    @ApiModelProperty(value = "产品名称")
    private String name;

    @Excel(name = "单位", dicCode = "unit_of_measure")
    @Dict(dicCode = "unit_of_measure")
    @ApiModelProperty(value = "单位")
    private String unitOfMeasure;

    @Excel(name = "需求数量")
    @ApiModelProperty(value = "需求数量")
    private Double needNum;

    @Excel(name = "采购数量")
    @ApiModelProperty(value = "采购数量")
    private Double purchaseNum;

    @Excel(name = "到货数量")
    @ApiModelProperty(value = "到货数量")
    private Double arriveNum;

    @Excel(name = "物料退还数量")
    @ApiModelProperty(value = "物料退还数量")
    private Double returnNum;

    @Excel(name = "物料浪费数量")
    @ApiModelProperty(value = "物料浪费数量")
    private Double wasteNum;

    @Excel(name = "规格")
    @ApiModelProperty(value = "规格")
    private String specification;

    @Excel(name = "报料序号")
    @ApiModelProperty(value = "报料序号")
    private String seriesNo;

    @Excel(name = "工艺单号")
    @ApiModelProperty(value = "工艺单号")
    private String processNo;

    @ApiModelProperty(value = "进度")
    private BigDecimal progress;

    @ApiModelProperty(value = "采购开始时间")
    private String purchase_time;  //历史原因，没有改成驼峰式命名

    @ApiModelProperty(value = "物料到货时间")
    private String arrive_time; //历史原因，没有改成驼峰式命名

    @ApiModelProperty(value = "物料报料时间")
    private String order_time; //历史原因，没有改成驼峰式命名

    @ApiModelProperty(value = "物料领取时间")
    private String consume_time; //历史原因，没有改成驼峰式命名
}
